-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support escaping |
and &
in utils.filter()
#220
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add examples how this should be used? I'm not sure the re.sub is correct but hard to tell.
@lukaszachy Any regexp where |
So BTW it would be really good to see this covered in unit tests...
|
It's split of the |
Let's include escaping of |
Found this PR only after commenting at #219 (comment) |
|
in utils.filter()
|
and &
in utils.filter()
Add support for escaping boolean operators using the back slash character `\` to allow for example regular expression grouping.
Add support for escaping boolean operators using the back slash character
\
to allow for example regular expression grouping.Pull Request Checklist